home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 117
/
FreelogNo117-OctobreNovembre2013.iso
/
Programmation
/
jedit
/
jedit5.1.0install.exe
/
{app}
/
modes
/
json.xml
< prev
next >
Wrap
Extensible Markup Language
|
2013-07-28
|
788b
|
29 lines
<?xml version="1.0"?>
<!DOCTYPE MODE SYSTEM "xmode.dtd">
<MODE>
<PROPS>
<!-- auto indent -->
<PROPERTY NAME="indentOpenBrackets" VALUE="[{"/>
<PROPERTY NAME="indentCloseBrackets" VALUE="}]"/>
<PROPERTY NAME="contextInsensitive" VALUE="true"/>
</PROPS>
<RULES>
<!-- mark numbers as DIGIT -->
<SEQ_REGEXP HASH_CHARS="-0123456789." TYPE="DIGIT">[-]?\d+([.]\d*)?([eE][+-]?\d+)?</SEQ_REGEXP>
<!-- mark strings as LITERAL1 -->
<SPAN TYPE="LITERAL1" ESCAPE="\" NO_LINE_BREAK="TRUE">
<BEGIN>"</BEGIN>
<END>"</END>
</SPAN>
<!-- mark pair separator as OPERATOR -->
<SEQ TYPE="OPERATOR">:</SEQ>
<!-- mark these special values as LITERAL2 -->
<SEQ TYPE="LITERAL2">true</SEQ>
<SEQ TYPE="LITERAL2">false</SEQ>
<SEQ TYPE="LITERAL2">null</SEQ>
</RULES>
</MODE>